package object_storage

import (
	"context"
	"io"
	"time"
)

const (
	ContentTypePB   = `application/x-protobuf`
	ContentTypeFile = "application/octet-stream"
)

type ObjectStorageClient interface {
	Upload(ctx context.Context, key string, reader io.Reader, size int64, contentType string) error
	UploadFile(ctx context.Context, filename, key string) error
	URL(ctx context.Context, key string) string
	PreSignURL(ctx context.Context, key string, duration time.Duration) (string, error)
}
